
///////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////// Table 9 - Interacting Conservative Petitioner //////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////

*** Load Data 
use Data_OPO_Master.dta, clear
keep if use==1

*** Creating Interactions with Conservative Petitioner for our Variables
foreach var of varlist panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out  coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln ///
{
	gen con_`var'=con*`var'	
}

*** Table 9 
reg sc_cert_granted con panel_odd_party_out con_panel_odd_party_out respondent_odd_party_out con_respondent_odd_party_out petitioner_odd_party_out con_petitioner_odd_party_out   i.con i.sc_term i.coa_circuit if civil==1 , cluster(sc_term)
outreg2 con panel_odd_party_out con_panel_odd_party_out respondent_odd_party_out con_respondent_odd_party_out petitioner_odd_party_out con_petitioner_odd_party_out  using "Table9.tex", nocons replace tex dec(3) drop(coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln con_coa_enbanc con_coa_panel_dissent con_coa_lc_reversed con_dismissed con_sc_cert_sg_petitioner con_sc_cert_sg_respondent con_sc_pet_corp con_sc_resp_corp con_sc_pet_pro_se con_sc_pet_vet_atty_ln  i.sc_term i.coa_circuit)

reg sc_cert_granted con panel_odd_party_out con_panel_odd_party_out respondent_odd_party_out con_respondent_odd_party_out petitioner_odd_party_out con_petitioner_odd_party_out  coa_enbanc coa_panel_dissent coa_lc_reversed dismissed con_coa_enbanc con_coa_panel_dissent con_coa_lc_reversed con_dismissed i.sc_term i.coa_circuit if civil==1 , cluster(sc_term)
outreg2 con panel_odd_party_out con_panel_odd_party_out respondent_odd_party_out con_respondent_odd_party_out petitioner_odd_party_out con_petitioner_odd_party_out  using "Table9.tex", nocons append tex dec(3) drop(coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln con_coa_enbanc con_coa_panel_dissent con_coa_lc_reversed con_dismissed con_sc_cert_sg_petitioner con_sc_cert_sg_respondent con_sc_pet_corp con_sc_resp_corp con_sc_pet_pro_se con_sc_pet_vet_atty_ln  i.sc_term i.coa_circuit)

reg sc_cert_granted con panel_odd_party_out con_panel_odd_party_out respondent_odd_party_out con_respondent_odd_party_out petitioner_odd_party_out con_petitioner_odd_party_out  sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln  con_sc_cert_sg_petitioner con_sc_cert_sg_respondent con_sc_pet_corp con_sc_resp_corp con_sc_pet_pro_se con_sc_pet_vet_atty_ln  i.sc_term i.coa_circuit if civil==1 , cluster(sc_term)
outreg2 con panel_odd_party_out con_panel_odd_party_out respondent_odd_party_out con_respondent_odd_party_out petitioner_odd_party_out con_petitioner_odd_party_out  using "Table9.tex", nocons append tex dec(3) drop(coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln con_coa_enbanc con_coa_panel_dissent con_coa_lc_reversed con_dismissed con_sc_cert_sg_petitioner con_sc_cert_sg_respondent con_sc_pet_corp con_sc_resp_corp con_sc_pet_pro_se con_sc_pet_vet_atty_ln  i.sc_term i.coa_circuit)

reg sc_cert_granted con panel_odd_party_out con_panel_odd_party_out respondent_odd_party_out con_respondent_odd_party_out petitioner_odd_party_out con_petitioner_odd_party_out  coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln con_coa_enbanc con_coa_panel_dissent con_coa_lc_reversed con_dismissed con_sc_cert_sg_petitioner con_sc_cert_sg_respondent con_sc_pet_corp con_sc_resp_corp con_sc_pet_pro_se con_sc_pet_vet_atty_ln  i.sc_term i.coa_circuit if civil==1 , cluster(sc_term)
outreg2 con panel_odd_party_out con_panel_odd_party_out respondent_odd_party_out con_respondent_odd_party_out petitioner_odd_party_out con_petitioner_odd_party_out  using "Table9.tex", nocons append tex dec(3) drop(coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln con_coa_enbanc con_coa_panel_dissent con_coa_lc_reversed con_dismissed con_sc_cert_sg_petitioner con_sc_cert_sg_respondent con_sc_pet_corp con_sc_resp_corp con_sc_pet_pro_se con_sc_pet_vet_atty_ln  i.sc_term i.coa_circuit)




** Generating Effect Sizes for the Manuscript Text

reg sc_cert_granted con panel_odd_party_out respondent_odd_party_out petitioner_odd_party_out con_petitioner_odd_party_out  coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln con_panel_odd_party_out con_respondent_odd_party_out  con_coa_enbanc con_coa_panel_dissent con_coa_lc_reversed con_dismissed con_sc_cert_sg_petitioner con_sc_cert_sg_respondent con_sc_pet_corp con_sc_resp_corp con_sc_pet_pro_se con_sc_pet_vet_atty_ln  i.sc_term i.coa_circuit if civil==1 , cluster(sc_term)

margins, at(petitioner_odd_party_out = (0 1) con= (0 1))

